
<h3 class="header smaller lighter blue mg-bottom20 mg-top12">产品分类添加</h3>

<form class="form-horizontal" action="/manage/pigProductInsert" method="post" enctype="multipart/form-data" id="ad">
    {!! csrf_field() !!}
    <div class="widget-body">
        <div class="">
            <div class="g-backrealdetails clearfix bor-border">
                <table class="table table-hover">
                    <tbody>
                    <tr>
                        <td class="text-right">所属分类：</td>
                        <td class="text-left">
                            <select name="cate_id" required>
                                @foreach($cates as $v)
                                    <option value="{{$v->id}}">{{$v->title}}</option>
                                @endforeach
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td class="text-right">产品名称：</td>
                        <td class="text-left">
                            <input type="text" name="title" >
                        </td>
                    </tr>
                    <tr>
                        <td class="text-right">产品内容：</td>
                        <td class="text-left">
                            <input type="text" name="content" >
                        </td>
                    </tr>
                    <tr>
                        <td class="text-right">产品单价：</td>
                        <td class="text-left">
                            <input type="text" name="cost" >
                        </td>
                    </tr>
                    <tr>
                        <td class="text-right">产品库存：</td>
                        <td class="text-left">
                            <input type="text" name="title" >
                        </td>
                    </tr>
                    <tr>
                        <td class="text-right">是否显示：</td>
                        <td class="text-left">
                            <input type="radio" name="is_show" value="1" checked="checked">是 <input type="radio" name="is_show" value="0">否
                        </td>
                    </tr>
                    <tr>
                        <td class="text-right"></td>
                        <td class="text-left">
                            <button type="submit" class="btn btn-primary btn-sm">提交</button>
                        </td>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</form>
</div>
</div>
</div>

{!! Theme::asset()->container('specific-js')->usePath()->add('fuelux.spinner.min.js', 'plugins/ace/js/fuelux/fuelux.spinner.min.js') !!}
{!! Theme::asset()->container('custom-js')->usePath()->add('datefuelux-js', 'js/doc/datefuelux.js') !!}